package com.aaron.kjviewutils.retrofit.service;

import com.aaron.kjviewutils.MainBean;

import okhttp3.ResponseBody;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * 作者：Aaron on 2017/2/13 15:35
 * 邮箱：kaijin.fang@edianniu.com
 */
public interface WeatherService {

    @GET("v1/weather/query")
    Call<MainBean> obtainWeather(@Query("city") String city, @Query("province") String province);
    @GET("v1/weather/citys")
    Call<ResponseBody> obtainCitys();
}
